//
//  IWTabBar.h
//  ItcastWeibo
//
//  Created by apple on 14-5-5.
//  Copyright (c) 2014年 itcast. All rights reserved.
//

#import <UIKit/UIKit.h>

@class MyTabBar;

@protocol IWTabBarDelegate <NSObject>
@optional
- (void)tabBar:(MyTabBar *)tabBar didSelectedButtonFrom:(NSInteger)from to:(NSInteger)to;
- (void)tabBarDidClickCenterBtn:(MyTabBar *)tabBar;
@end

@interface MyTabBar : UIView

- (void)addTabBarButtonWithItem:(UITabBarItem *)item;
@property (nonatomic, weak) id<IWTabBarDelegate> delegate;

@end
